package cn.slipi.pan.web.controller.req;

import lombok.Data;

@Data
public class SearchListReq {

    /**
     * let params = "t=" + Date.now() + "&version=v2" + "&line=0&site=dalipan";
     * <p>
     * params += "&kw=" + keyword;
     * params += category === '' ? '' : "&category=" + category;
     * params += diffDay === '' ? '' : "&diffDay=" + diffDay;
     * params += searchType === '' ? '' : "&searchType=" + searchType;
     * params += resType === '' ? '' : "&resType=" + resType;
     * params += minSize === 0 ? '' : "&minSize=" + minSize;
     * params += maxSize === 0 ? '' : "&maxSize=" + maxSize;
     * params += "&page=" + page;
     */
    // kw
    private String keyword;
    // category
    private String fileType;
    // diffDay
    private String dateRange;
    // searchType
    private String searchType;
    // resType
    private String sourceType;

    private String minSize;
    private String maxSize;

    private Integer page;

}